package com.lc.sell.mapper;

import com.lc.sell.entity.OrderDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lc.sell.vo.OrderDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 龙晨
 * @since 2022-02-12 12:28:21
 */
@Mapper
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {
    /**
     * 根据订单id查询订单详情
     */
    List<OrderDetailVO> findByIdDetail(@Param(value = "orderId") String orderId,@Param(value = "mid")Integer mid);
}
